import request from '@/utils/request.js'

// 元素
export function queryAllElementList() {
  return request({
    url: '/element/queryAllElement/',
    method: 'get'
  })
}

// 食材
export function queryAllIngredientList() {
  return request({
    url: '/ingredients/queryAll/',
    method: 'get'
  })
}

// 题库
export function queryAllQuestionList() {
  return request({
    url: '/question/queryAllQuestion/',
    method: 'get'
  })
}

// 食谱
export function queryAllFood() {
  return request({
    url: '/food/queryAll/',
    method: 'get'
  })
}

// 获取今天的记录
export function getRecordToDay() {
  return request({
    url: '/record/queryByToDay',
    method: 'get'
  })
}